package cn.edu.nju.newsFeed;

import cn.edu.nju.R;
import android.app.Activity;
import android.text.TextPaint;
import android.text.style.ClickableSpan;

public abstract class FeedClickableSpan extends ClickableSpan{
	private Activity context;
	
	public FeedClickableSpan(Activity activity){
		this.context = activity;
	}
	
	@Override
	public void updateDrawState(TextPaint ds){
		ds.setUnderlineText(false);
		ds.setFakeBoldText(false);
		ds.setColor(context.getResources().getColor(R.color.blue));
	}
}
